package com.wnx.job.common.mapstruct;

import com.wnx.job.modules.jms.dto.ProfessionParam;
import com.wnx.job.modules.jms.model.JmsProfession;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author by wangnaixing
 * @Description
 * @Date 2021/12/18 14:34
 */
public interface ProfessionMapper {

    ProfessionMapper INSTANCE = Mappers.getMapper(ProfessionMapper.class);

    JmsProfession toPojo(ProfessionParam professionParam);

    List<ProfessionParam> toDtoList(List<JmsProfession> professionList);

}
